#pragma once

#include "ui_CNewsCellTableWidget.h"
#include <QWidget>
#include <QVector>
#include <QTableWidget>
#include <QHeaderView>
#include "CNewsCellWidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class CNewsCellTableWidgetClass; };
QT_END_NAMESPACE

class CNewsCellTableWidget : public QWidget
{
	Q_OBJECT

public:
	CNewsCellTableWidget(QWidget* parent = nullptr);
	~CNewsCellTableWidget();
	void SetUi(const QVector<CNewsCellData*>& kqVt, const QObject* kpMiniApp);
private:
	Ui::CNewsCellTableWidgetClass* ui;
	QTableWidget* m_pTableWidget;
};
